package com.aaa.docter.service;

import com.aaa.docter.vo.DeptVo;
import com.aaa.docter.vo.RegistrationVo;
import com.aaa.docter.vo.SchedulingVo;
import com.aaa.entity.Dept;
import com.aaa.entity.HisRegistration;
import com.aaa.entity.Scheduling;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface RegistrationService {
    Result<IPage<HisRegistration>> getAll(Integer currentPage, Integer pageSize, RegistrationVo registrationVo);
//退号
    Result<String> getTui(String registrationId);
//收费
    Result<String> getShoufei(String registrationId);
//作废
    Result<String> getzuofei(String registrationId);

    //    门诊挂号，科室id，可是名字
    Result<List<Scheduling>> getGuaHao(DeptVo deptVo);

//    通过registrationId查询挂号收费是否成功
    Result  getRegId(String registrationId);

//    待就诊列表
    Result<List<HisRegistration>> getschedulingType(String schedulingType);

//    就诊中
    Result<List<HisRegistration>> queryVisitingRegistration(String schedulingType);
    //    就诊完成
    Result<List<HisRegistration>> queryVisitCompletedRegistration(String schedulingType);

//接诊
    Result<String> jiezhen(String registrationId);

//    完成就诊
    Result<String> wcjz(String registrationId);


    Integer getRagNumber(Long deptId);
}
